package secondStage.part2.接口.two;

/**
 * @ClassName: [InterfaceDemo]
 * @Description:
 * @Author: [黄劲松]
 * @CreateDate: [2021-03-14]
 * @Version: [v1.0]
 */
public class InterfaceDemo {
    public static void main(String[] args) {
        Inter i = new InterImpl();
        //i.num=200;//报错,默认被final修饰
        System.out.println(i.num);
        System.out.println(i.num2);
    }
}
